package com.qst.express.mapper;

import com.qst.express.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author mjh
 * @since 2022-09-25
 */
public interface UserMapper extends BaseMapper<User> {

    User findByPhone(@Param("userPhone") String userPhone);

    void updateLoginTime(@Param("userPhone") String userPhone);

    List<Map<String, Integer>> console();
}
